package com.example.demo.client.evt.sysbasequery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @Author zhengmf
 * @Date 2018/12/28  10:04
 */
@ApiModel("KEY参数")
public class KeyEvt implements Serializable {
    private static final long serialVersionUID = -6077928902609867299L;
    @ApiModelProperty("KEY")
    @NotBlank
    private String key;

    public KeyEvt(String key) {
        this.key = key;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    @Override
    public String toString() {
        return "KeyEvt{" +
            "key='" + key + '\'' +
            '}';
    }
}
